import miniRequest from '../untils/request.js';

let requestMsg = new miniRequest()

requestMsg.setBaseUrl('http://192.168.227.120:10070')
requestMsg.setHeader('Authorization','Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2Nzg5NTQzNzcsImlkZW50aXR5IjoiMDAwMSIsIm9yaWdfaWF0IjoxNjc4ODY3OTc3LCJ1c2VyIjoie1wiaWJtXCI6NDEyNzY4ODM4NjU2MDAsXCJjeWhibVwiOlwiOTk5OTk5XCIsXCJ1aWRcIjpcIjAwMDFcIixcImN4bVwiOlwi566h55CG5ZGYXCIsXCJjcHdkXCI6XCIxMjM0NTZcIixcImlseFwiOjAsXCJjc3Nrc2JtXCI6XCJcIixcImNzc2tzbWNcIjpcIlwiLFwiY2J6XCI6XCLns7vnu5_oh6rliqjnlJ_miJDnmoTnrqHnkIblkZjmlbDmja5cIixcImlzdGF0dXNcIjoxfSJ9.MIuMLDo8MIZY2nPW1kd4w_0aLwIAPFtsrcfgYKZ8t50')
requestMsg.setRequestIntercept((options) => {
	console.log(options)
})
// 响应拦截处理
requestMsg.setResponseIntercept((res) => {
	
	
})
export const request = requestMsg;
